﻿namespace WMS6.Web.InboundServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="ReceiptQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class ReceiptQueryEntity : BaseQuery
    {
        [OptionalField]
        private string AdviceDateField;
        [OptionalField]
        private string AdviceNumberField;
        [OptionalField]
        private string AllowAutoReceiptField;
        [OptionalField]
        private string ArrivalDateField;
        [OptionalField]
        private string CarrierAddressField;
        [OptionalField]
        private string CarrierCityField;
        [OptionalField]
        private string CarrierCountryField;
        [OptionalField]
        private string CarrierEmailField;
        [OptionalField]
        private string CarrierFaxField;
        [OptionalField]
        private string CarrierIDField;
        [OptionalField]
        private string CarrierNameField;
        [OptionalField]
        private string CarrierPhoneField;
        [OptionalField]
        private string CarrierProvField;
        [OptionalField]
        private string CarrierRefField;
        [OptionalField]
        private string CarrierZipField;
        [OptionalField]
        private string ClosedDateField;
        [OptionalField]
        private string ContainerQtyField;
        [OptionalField]
        private string ContainerRefField;
        [OptionalField]
        private string ContainerTypeField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DestCountryField;
        [OptionalField]
        private string DriverNameField;
        [OptionalField]
        private string ExpectedReceiptDateField;
        [OptionalField]
        private string ExternalReceiptId2Field;
        [OptionalField]
        private string ExternalReceiptIDField;
        [OptionalField]
        private string IncoTermsField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string LottableMatchRequiredField;
        [OptionalField]
        private string OpenQtyField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string PackingSlipNumberField;
        [OptionalField]
        private string PaymentTermField;
        [OptionalField]
        private string PlaceOfDeliveryField;
        [OptionalField]
        private string PlaceOfDischargeField;
        [OptionalField]
        private string PlaceOfLoadingField;
        [OptionalField]
        private string PoIDField;
        [OptionalField]
        private string ReceiptDateField;
        [OptionalField]
        private string ReceiptIDField;
        [OptionalField]
        private string ReceiptTypeField;
        [OptionalField]
        private string RemarkField;
        [OptionalField]
        private string RmaField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string SrcCountryField;
        [OptionalField]
        private string StatusField;
        [OptionalField]
        private string TrackInventoryByField;
        [OptionalField]
        private string TrailerNumberField;
        [OptionalField]
        private string TrailerOwnerField;
        [OptionalField]
        private string TransportationModeField;
        [OptionalField]
        private string Udf10Field;
        [OptionalField]
        private string Udf1Field;
        [OptionalField]
        private string Udf2Field;
        [OptionalField]
        private string Udf3Field;
        [OptionalField]
        private string Udf4Field;
        [OptionalField]
        private string Udf5Field;
        [OptionalField]
        private string Udf6Field;
        [OptionalField]
        private string Udf7Field;
        [OptionalField]
        private string Udf8Field;
        [OptionalField]
        private string Udf9Field;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string VehicleDateField;
        [OptionalField]
        private string VehicleNumberField;
        [OptionalField]
        private string VendorAddressField;
        [OptionalField]
        private string VendorCityField;
        [OptionalField]
        private string VendorCountryField;
        [OptionalField]
        private string VendorEmailField;
        [OptionalField]
        private string VendorFaxField;
        [OptionalField]
        private string VendorIDField;
        [OptionalField]
        private string VendorNameField;
        [OptionalField]
        private string VendorPhoneField;
        [OptionalField]
        private string VendorProvField;
        [OptionalField]
        private string VendorRefField;
        [OptionalField]
        private string VendorZipField;
        [OptionalField]
        private string WarehouseRefField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string AdviceDate
        {
            get
            {
                return this.AdviceDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AdviceDateField, value))
                {
                    this.AdviceDateField = value;
                    base.RaisePropertyChanged("AdviceDate");
                }
            }
        }

        [DataMember]
        public string AdviceNumber
        {
            get
            {
                return this.AdviceNumberField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AdviceNumberField, value))
                {
                    this.AdviceNumberField = value;
                    base.RaisePropertyChanged("AdviceNumber");
                }
            }
        }

        [DataMember]
        public string AllowAutoReceipt
        {
            get
            {
                return this.AllowAutoReceiptField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AllowAutoReceiptField, value))
                {
                    this.AllowAutoReceiptField = value;
                    base.RaisePropertyChanged("AllowAutoReceipt");
                }
            }
        }

        [DataMember]
        public string ArrivalDate
        {
            get
            {
                return this.ArrivalDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ArrivalDateField, value))
                {
                    this.ArrivalDateField = value;
                    base.RaisePropertyChanged("ArrivalDate");
                }
            }
        }

        [DataMember]
        public string CarrierAddress
        {
            get
            {
                return this.CarrierAddressField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierAddressField, value))
                {
                    this.CarrierAddressField = value;
                    base.RaisePropertyChanged("CarrierAddress");
                }
            }
        }

        [DataMember]
        public string CarrierCity
        {
            get
            {
                return this.CarrierCityField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierCityField, value))
                {
                    this.CarrierCityField = value;
                    base.RaisePropertyChanged("CarrierCity");
                }
            }
        }

        [DataMember]
        public string CarrierCountry
        {
            get
            {
                return this.CarrierCountryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierCountryField, value))
                {
                    this.CarrierCountryField = value;
                    base.RaisePropertyChanged("CarrierCountry");
                }
            }
        }

        [DataMember]
        public string CarrierEmail
        {
            get
            {
                return this.CarrierEmailField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierEmailField, value))
                {
                    this.CarrierEmailField = value;
                    base.RaisePropertyChanged("CarrierEmail");
                }
            }
        }

        [DataMember]
        public string CarrierFax
        {
            get
            {
                return this.CarrierFaxField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierFaxField, value))
                {
                    this.CarrierFaxField = value;
                    base.RaisePropertyChanged("CarrierFax");
                }
            }
        }

        [DataMember]
        public string CarrierID
        {
            get
            {
                return this.CarrierIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierIDField, value))
                {
                    this.CarrierIDField = value;
                    base.RaisePropertyChanged("CarrierID");
                }
            }
        }

        [DataMember]
        public string CarrierName
        {
            get
            {
                return this.CarrierNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierNameField, value))
                {
                    this.CarrierNameField = value;
                    base.RaisePropertyChanged("CarrierName");
                }
            }
        }

        [DataMember]
        public string CarrierPhone
        {
            get
            {
                return this.CarrierPhoneField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierPhoneField, value))
                {
                    this.CarrierPhoneField = value;
                    base.RaisePropertyChanged("CarrierPhone");
                }
            }
        }

        [DataMember]
        public string CarrierProv
        {
            get
            {
                return this.CarrierProvField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierProvField, value))
                {
                    this.CarrierProvField = value;
                    base.RaisePropertyChanged("CarrierProv");
                }
            }
        }

        [DataMember]
        public string CarrierRef
        {
            get
            {
                return this.CarrierRefField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierRefField, value))
                {
                    this.CarrierRefField = value;
                    base.RaisePropertyChanged("CarrierRef");
                }
            }
        }

        [DataMember]
        public string CarrierZip
        {
            get
            {
                return this.CarrierZipField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierZipField, value))
                {
                    this.CarrierZipField = value;
                    base.RaisePropertyChanged("CarrierZip");
                }
            }
        }

        [DataMember]
        public string ClosedDate
        {
            get
            {
                return this.ClosedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ClosedDateField, value))
                {
                    this.ClosedDateField = value;
                    base.RaisePropertyChanged("ClosedDate");
                }
            }
        }

        [DataMember]
        public string ContainerQty
        {
            get
            {
                return this.ContainerQtyField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ContainerQtyField, value))
                {
                    this.ContainerQtyField = value;
                    base.RaisePropertyChanged("ContainerQty");
                }
            }
        }

        [DataMember]
        public string ContainerRef
        {
            get
            {
                return this.ContainerRefField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ContainerRefField, value))
                {
                    this.ContainerRefField = value;
                    base.RaisePropertyChanged("ContainerRef");
                }
            }
        }

        [DataMember]
        public string ContainerType
        {
            get
            {
                return this.ContainerTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ContainerTypeField, value))
                {
                    this.ContainerTypeField = value;
                    base.RaisePropertyChanged("ContainerType");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string DestCountry
        {
            get
            {
                return this.DestCountryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DestCountryField, value))
                {
                    this.DestCountryField = value;
                    base.RaisePropertyChanged("DestCountry");
                }
            }
        }

        [DataMember]
        public string DriverName
        {
            get
            {
                return this.DriverNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DriverNameField, value))
                {
                    this.DriverNameField = value;
                    base.RaisePropertyChanged("DriverName");
                }
            }
        }

        [DataMember]
        public string ExpectedReceiptDate
        {
            get
            {
                return this.ExpectedReceiptDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExpectedReceiptDateField, value))
                {
                    this.ExpectedReceiptDateField = value;
                    base.RaisePropertyChanged("ExpectedReceiptDate");
                }
            }
        }

        [DataMember]
        public string ExternalReceiptID
        {
            get
            {
                return this.ExternalReceiptIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternalReceiptIDField, value))
                {
                    this.ExternalReceiptIDField = value;
                    base.RaisePropertyChanged("ExternalReceiptID");
                }
            }
        }

        [DataMember]
        public string ExternalReceiptId2
        {
            get
            {
                return this.ExternalReceiptId2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternalReceiptId2Field, value))
                {
                    this.ExternalReceiptId2Field = value;
                    base.RaisePropertyChanged("ExternalReceiptId2");
                }
            }
        }

        [DataMember]
        public string IncoTerms
        {
            get
            {
                return this.IncoTermsField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IncoTermsField, value))
                {
                    this.IncoTermsField = value;
                    base.RaisePropertyChanged("IncoTerms");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string LottableMatchRequired
        {
            get
            {
                return this.LottableMatchRequiredField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LottableMatchRequiredField, value))
                {
                    this.LottableMatchRequiredField = value;
                    base.RaisePropertyChanged("LottableMatchRequired");
                }
            }
        }

        [DataMember]
        public string OpenQty
        {
            get
            {
                return this.OpenQtyField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OpenQtyField, value))
                {
                    this.OpenQtyField = value;
                    base.RaisePropertyChanged("OpenQty");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    base.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string PackingSlipNumber
        {
            get
            {
                return this.PackingSlipNumberField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PackingSlipNumberField, value))
                {
                    this.PackingSlipNumberField = value;
                    base.RaisePropertyChanged("PackingSlipNumber");
                }
            }
        }

        [DataMember]
        public string PaymentTerm
        {
            get
            {
                return this.PaymentTermField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PaymentTermField, value))
                {
                    this.PaymentTermField = value;
                    base.RaisePropertyChanged("PaymentTerm");
                }
            }
        }

        [DataMember]
        public string PlaceOfDelivery
        {
            get
            {
                return this.PlaceOfDeliveryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PlaceOfDeliveryField, value))
                {
                    this.PlaceOfDeliveryField = value;
                    base.RaisePropertyChanged("PlaceOfDelivery");
                }
            }
        }

        [DataMember]
        public string PlaceOfDischarge
        {
            get
            {
                return this.PlaceOfDischargeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PlaceOfDischargeField, value))
                {
                    this.PlaceOfDischargeField = value;
                    base.RaisePropertyChanged("PlaceOfDischarge");
                }
            }
        }

        [DataMember]
        public string PlaceOfLoading
        {
            get
            {
                return this.PlaceOfLoadingField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PlaceOfLoadingField, value))
                {
                    this.PlaceOfLoadingField = value;
                    base.RaisePropertyChanged("PlaceOfLoading");
                }
            }
        }

        [DataMember]
        public string PoID
        {
            get
            {
                return this.PoIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PoIDField, value))
                {
                    this.PoIDField = value;
                    base.RaisePropertyChanged("PoID");
                }
            }
        }

        [DataMember]
        public string ReceiptDate
        {
            get
            {
                return this.ReceiptDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReceiptDateField, value))
                {
                    this.ReceiptDateField = value;
                    base.RaisePropertyChanged("ReceiptDate");
                }
            }
        }

        [DataMember]
        public string ReceiptID
        {
            get
            {
                return this.ReceiptIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReceiptIDField, value))
                {
                    this.ReceiptIDField = value;
                    base.RaisePropertyChanged("ReceiptID");
                }
            }
        }

        [DataMember]
        public string ReceiptType
        {
            get
            {
                return this.ReceiptTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReceiptTypeField, value))
                {
                    this.ReceiptTypeField = value;
                    base.RaisePropertyChanged("ReceiptType");
                }
            }
        }

        [DataMember]
        public string Remark
        {
            get
            {
                return this.RemarkField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RemarkField, value))
                {
                    this.RemarkField = value;
                    base.RaisePropertyChanged("Remark");
                }
            }
        }

        [DataMember]
        public string Rma
        {
            get
            {
                return this.RmaField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RmaField, value))
                {
                    this.RmaField = value;
                    base.RaisePropertyChanged("Rma");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string SrcCountry
        {
            get
            {
                return this.SrcCountryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SrcCountryField, value))
                {
                    this.SrcCountryField = value;
                    base.RaisePropertyChanged("SrcCountry");
                }
            }
        }

        [DataMember]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusField, value))
                {
                    this.StatusField = value;
                    base.RaisePropertyChanged("Status");
                }
            }
        }

        [DataMember]
        public string TrackInventoryBy
        {
            get
            {
                return this.TrackInventoryByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TrackInventoryByField, value))
                {
                    this.TrackInventoryByField = value;
                    base.RaisePropertyChanged("TrackInventoryBy");
                }
            }
        }

        [DataMember]
        public string TrailerNumber
        {
            get
            {
                return this.TrailerNumberField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TrailerNumberField, value))
                {
                    this.TrailerNumberField = value;
                    base.RaisePropertyChanged("TrailerNumber");
                }
            }
        }

        [DataMember]
        public string TrailerOwner
        {
            get
            {
                return this.TrailerOwnerField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TrailerOwnerField, value))
                {
                    this.TrailerOwnerField = value;
                    base.RaisePropertyChanged("TrailerOwner");
                }
            }
        }

        [DataMember]
        public string TransportationMode
        {
            get
            {
                return this.TransportationModeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TransportationModeField, value))
                {
                    this.TransportationModeField = value;
                    base.RaisePropertyChanged("TransportationMode");
                }
            }
        }

        [DataMember]
        public string Udf1
        {
            get
            {
                return this.Udf1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf1Field, value))
                {
                    this.Udf1Field = value;
                    base.RaisePropertyChanged("Udf1");
                }
            }
        }

        [DataMember]
        public string Udf10
        {
            get
            {
                return this.Udf10Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf10Field, value))
                {
                    this.Udf10Field = value;
                    base.RaisePropertyChanged("Udf10");
                }
            }
        }

        [DataMember]
        public string Udf2
        {
            get
            {
                return this.Udf2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf2Field, value))
                {
                    this.Udf2Field = value;
                    base.RaisePropertyChanged("Udf2");
                }
            }
        }

        [DataMember]
        public string Udf3
        {
            get
            {
                return this.Udf3Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf3Field, value))
                {
                    this.Udf3Field = value;
                    base.RaisePropertyChanged("Udf3");
                }
            }
        }

        [DataMember]
        public string Udf4
        {
            get
            {
                return this.Udf4Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf4Field, value))
                {
                    this.Udf4Field = value;
                    base.RaisePropertyChanged("Udf4");
                }
            }
        }

        [DataMember]
        public string Udf5
        {
            get
            {
                return this.Udf5Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf5Field, value))
                {
                    this.Udf5Field = value;
                    base.RaisePropertyChanged("Udf5");
                }
            }
        }

        [DataMember]
        public string Udf6
        {
            get
            {
                return this.Udf6Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf6Field, value))
                {
                    this.Udf6Field = value;
                    base.RaisePropertyChanged("Udf6");
                }
            }
        }

        [DataMember]
        public string Udf7
        {
            get
            {
                return this.Udf7Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf7Field, value))
                {
                    this.Udf7Field = value;
                    base.RaisePropertyChanged("Udf7");
                }
            }
        }

        [DataMember]
        public string Udf8
        {
            get
            {
                return this.Udf8Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf8Field, value))
                {
                    this.Udf8Field = value;
                    base.RaisePropertyChanged("Udf8");
                }
            }
        }

        [DataMember]
        public string Udf9
        {
            get
            {
                return this.Udf9Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf9Field, value))
                {
                    this.Udf9Field = value;
                    base.RaisePropertyChanged("Udf9");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string VehicleDate
        {
            get
            {
                return this.VehicleDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VehicleDateField, value))
                {
                    this.VehicleDateField = value;
                    base.RaisePropertyChanged("VehicleDate");
                }
            }
        }

        [DataMember]
        public string VehicleNumber
        {
            get
            {
                return this.VehicleNumberField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VehicleNumberField, value))
                {
                    this.VehicleNumberField = value;
                    base.RaisePropertyChanged("VehicleNumber");
                }
            }
        }

        [DataMember]
        public string VendorAddress
        {
            get
            {
                return this.VendorAddressField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorAddressField, value))
                {
                    this.VendorAddressField = value;
                    base.RaisePropertyChanged("VendorAddress");
                }
            }
        }

        [DataMember]
        public string VendorCity
        {
            get
            {
                return this.VendorCityField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorCityField, value))
                {
                    this.VendorCityField = value;
                    base.RaisePropertyChanged("VendorCity");
                }
            }
        }

        [DataMember]
        public string VendorCountry
        {
            get
            {
                return this.VendorCountryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorCountryField, value))
                {
                    this.VendorCountryField = value;
                    base.RaisePropertyChanged("VendorCountry");
                }
            }
        }

        [DataMember]
        public string VendorEmail
        {
            get
            {
                return this.VendorEmailField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorEmailField, value))
                {
                    this.VendorEmailField = value;
                    base.RaisePropertyChanged("VendorEmail");
                }
            }
        }

        [DataMember]
        public string VendorFax
        {
            get
            {
                return this.VendorFaxField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorFaxField, value))
                {
                    this.VendorFaxField = value;
                    base.RaisePropertyChanged("VendorFax");
                }
            }
        }

        [DataMember]
        public string VendorID
        {
            get
            {
                return this.VendorIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorIDField, value))
                {
                    this.VendorIDField = value;
                    base.RaisePropertyChanged("VendorID");
                }
            }
        }

        [DataMember]
        public string VendorName
        {
            get
            {
                return this.VendorNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorNameField, value))
                {
                    this.VendorNameField = value;
                    base.RaisePropertyChanged("VendorName");
                }
            }
        }

        [DataMember]
        public string VendorPhone
        {
            get
            {
                return this.VendorPhoneField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorPhoneField, value))
                {
                    this.VendorPhoneField = value;
                    base.RaisePropertyChanged("VendorPhone");
                }
            }
        }

        [DataMember]
        public string VendorProv
        {
            get
            {
                return this.VendorProvField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorProvField, value))
                {
                    this.VendorProvField = value;
                    base.RaisePropertyChanged("VendorProv");
                }
            }
        }

        [DataMember]
        public string VendorRef
        {
            get
            {
                return this.VendorRefField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorRefField, value))
                {
                    this.VendorRefField = value;
                    base.RaisePropertyChanged("VendorRef");
                }
            }
        }

        [DataMember]
        public string VendorZip
        {
            get
            {
                return this.VendorZipField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorZipField, value))
                {
                    this.VendorZipField = value;
                    base.RaisePropertyChanged("VendorZip");
                }
            }
        }

        [DataMember]
        public string WarehouseRef
        {
            get
            {
                return this.WarehouseRefField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WarehouseRefField, value))
                {
                    this.WarehouseRefField = value;
                    base.RaisePropertyChanged("WarehouseRef");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

